Remove server+client flags from independent standalone execs #2990
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🦟 Bug fix
Summary
The PR removes from the standalone executables the parameters (
--render-engine
and--render-engine-api-backend
) that affects the server and client. This parameter makes sense to be used when the gz sim combined utility is being run to affect both part of the application. The standalone executables ship the customized versions of these--render-engine-server
and--render-engine-gui
.There is still the open issue of how should behave the standalone executables with respect of the input of sdf files. The server can process them as the input, this is the more natural way. In the combined run (server + client) the server is waiting for the client to send a SDF file from the initial selection screen if no file is passed. For the standalone client I'm inclined to remove the input of the sdf file and just leave it to connect to the server but I can probably be convinced of other options.
Checklist
codecheck
passed (See contributing)